angular.module('myApp')
.controller('TimePickerCtrl', ['$scope', function($scope) {
  $scope.disabledHours = () => h => h < 9 || h > 18;
}])
.directive('elTimePicker', ['$document', '$timeout', 'TimeService', elTimePicker])
.filter('numberFixedLen', function() {
  return function(n, len) { 
    return n.toString().padStart(len || 2, '0');
  };
});